
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">


<style type="text/css">
	table.calc{
		width: 100%;
		height: 100%;
	}
	table.calc tr{
		height: 28px;
	}
	table.calc tr td{
		width: 40px;
	}
	table.calc td input{
		width: 98%;
		height: 100%;
		height: 26px;
	}
	table.calc tr.result input{
		height: 18px;
		width: 160px;
	}
	
	
</style>

<div id="winwrapper" class="winwrapper">

<FORM name="Keypad" action="" id="Keypad">
<div class="content">
 <TABLE align="center" class="calc">
  <TR class="result">
   <TD colspan="4" align="center"><input id="ReadOut" name="ReadOut" type="Text"  value="0" readonly="readonly"></TD>
  </TR>
  <TR>
   <TD><input name="btnSeven" class="calc" type="Button" value=" 7 " onclick="NumPressed(7)"></TD>
   <TD><input name="btnEight"  class="calc" type="Button" value=" 8 " onclick="NumPressed(8)"></TD>
   <TD><input name="btnNine" class="calc" type="Button" value=" 9 " onclick="NumPressed(9)"></TD>
   <TD><input name="btnDivide" class="calc" type="Button" value=" / " onclick="Operation('/')"></TD>
  </TR>
  
  <TR>
   <TD><input name="btnFour" class="calc" type="Button" value=" 4 " onclick="NumPressed(4)"></TD>
   <TD><input name="btnFive" class="calc" type="Button" value=" 5 " onclick="NumPressed(5)"></TD>
   <TD><input name="btnSix" class="calc" type="Button" value=" 6 " onclick="NumPressed(6)"></TD>
   <TD><input name="btnMultiply" class="calc" type="Button" value=" * " onclick="Operation('*')"></TD>
   
   
  </TR>
  <TR>
   <TD><input name="btnOne" class="calc" type="Button" value=" 1 " onclick="NumPressed(1)"></TD>
   <TD><input name="btnTwo" class="calc" type="Button" value=" 2 " onclick="NumPressed(2)"></TD>
   <TD><input name="btnThree" class="calc" type="Button" value=" 3 " onclick="NumPressed(3)"></TD>
   <TD><input name="btnMinus" class="calc" type="Button" value=" - " onclick="Operation('-')"></TD>
   
  </TR>
  <TR>
   <TD><input name="btnZero" class="calc" type="Button" value=" 0 " onclick="NumPressed(0)"></TD>
   <TD><input name="btnNeg" class="calc" type="Button" value="+/-" onclick="Neg()"></TD>
   <TD><input name="btnDecimal" class="calc" type="Button" value=" . " onclick="Decimal()"></TD>
   <TD><input name="btnPlus" class="calc" type="Button" value=" + " onclick="Operation('+')"> </TD>
   
  </TR>
  <TR>
  	<TD><input name="btnClear" class="calc" type="Button" value="C" onclick="Clear()"></TD>
  	<TD><input name="btnClearEntry" class="calc" type="Button" value="CE" onclick="ClearEntry();"></TD>
  	<TD><input name="btnEquals" class="calc" type="Button" value=" = " onclick="Operation('=')"></TD>
  	<TD><input name="btnPercent" class="calc" type="Button" value="完成" onclick="Operation('=');done();CM.close(this);"></TD>
  </TR>
 </TABLE>
 </div>
</FORM>
</div>